

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	<!-- saved from url=(0022)http://www.ncover.com/ -->
    <title>NCover Code Coverage Report - aprogblog-acceptance</title>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="en-us" />
	<link rel="stylesheet" type="text/css" href="../default.css" />
	
	<script type="text/javascript" src="../sorttable.js"></script>
    <script type="text/javascript" src="../prototype.js"></script>
    <!--[if IE]>
		<script type="text/javascript" src="../excanvas.js"></script>
	<![endif]-->
    <script type="text/javascript" src="../blech.js"></script>
    <script type="text/javascript" src="../ncover.js"></script>
  </head>
  <body>
    <div id="hdrbar">
      <div id="hdrbar_left">
        <a href="../coveragesummary.html" target="doc">aprogblog-acceptance</a>
      </div>
    </div>
    <div id="content">
      

<div id="page_title">
  <em>Code Coverage Statistics for Source File</em>
  <h1>c:\temp\agile-dev-in-action\src\app\models\weblogservice.cs</h1>
</div>



<div id="page_stats">
	<div id="left">
		

<p>
	
	Symbol Coverage:
	<span class="highlight">
    
      <span class="uncovered">64.29%</span>
    
  </span>
  (18 of 28)
</p>
<p>
	
	Branch Coverage:
	<span class="highlight">
	
	  <span class="uncovered">58.33%</span>
	
	</span>
	(7 of 12)
</p>

<p>
	
		Maximum Cyclomatic Complexity:
	
	<span class="highlight">
		1
	</span>
</p>

<p>
  Code Lines:
  <span class="highlight">33</span>
</p>
	</div>
	
</div>
<br style="clear: both;" />




<table id="sourceTable" class="source">
  <tr>
  <th class="linenum" title="Line #">L</th>
  <th class="linenum" title="Visit Count">V</th>
  <th class="sourceline" style="text-align: left;">Source</th>
  </tr>


  <tr>
  
     <td>
  
    <pre><a name="L1">1</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>using System.Collections.Generic;</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L2">2</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>using aprogblog.App.MetaWeblog;</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L3">3</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>using aprogblog.Domain;</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L4">4</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>using CookComputing.XmlRpc;</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L5">5</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L6">6</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>namespace aprogblog.App.Models {</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L7">7</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L8">8</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>    public class WeblogService : XmlRpcService, MetaWeblogAPI, BloggerAPI {</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L9">9</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>    </pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L10">10</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 19 times"> 19</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">Blog blog = ObjectFactory.Blog;</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L11">11</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        public Blog Blog {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L12">12</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 30 times"> 30</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            get { <span class="covered">return blog; }</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L13">13</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 9 times"> 9</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            set { <span class="covered">blog = value; }</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L14">14</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        }</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L15">15</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        </pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L16">16</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 1 time"> 1</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        public virtual Entry EntryFrom(Post Post) { <span class="covered">return Post.ToEntry(); }</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L17">17</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        </pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L18">18</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        public Post GetPost(string PostId, string UserName, string Password) {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L19">19</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 10 times"> 10</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">return Blog.FindById(PostId).ToPost();</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L20">20</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 9 times"> 9</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L21">21</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L22">22</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 4 times"> 4</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        public Post[] GetRecentPosts(string Blogid, string UserName, string Password, int NumberOfPosts) { return </pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L23">23</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 4 times"> 4</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">Blog.RecentEntries(NumberOfPosts).ToPosts()</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L24">24</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 4 times"> 4</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">;} </span>       </pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L25">25</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L26">26</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        public string AddPost(string Blogid, string UserName, string Password, Post Post, bool Publish) {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L27">27</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 3 times"> 3</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">var NewEntry = EntryFrom(Post);</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L28">28</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 3 times"> 3</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">Blog.Add(NewEntry);</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L29">29</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 3 times"> 3</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">return NewEntry.Id;</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L30">30</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 3 times"> 3</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L31">31</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L32">32</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        public bool DeletePost(string Key, string PostId, string UserName, string Password, bool Publish) {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L33">33</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">Blog.Delete(PostId);</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L34">34</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">return true;</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L35">35</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L36">36</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L37">37</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        public bool UpdatePost(string PostId, string UserName, string Password, Post Post, bool Publish) {</pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L38">38</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">return true;</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L39">39</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="uncovered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L40">40</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L41">41</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        public CategoryInfo[] GetCategories(string Blogid, string UserName, string Password) {</pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L42">42</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">return new CategoryInfo[0];</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L43">43</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="uncovered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L44">44</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L45">45</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        public MediaObjectInfo NewMediaObject(string Blogid, string UserName, string Password, MediaObject MediaObject) {</pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L46">46</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">return new MediaObjectInfo();</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L47">47</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="uncovered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L48">48</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L49">49</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        public BlogInfo[] GetUsersBlogs(string Key, string UserName, string Password) {</pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L50">50</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">return new List&lt;BlogInfo&gt; { new BlogInfo {</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L51">51</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="uncovered">blogid = Settings.Id, </span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L52">52</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="uncovered">blogName = Settings.BlogName, </span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L53">53</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="uncovered">url = Settings.HomePage</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L54">54</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">}}.ToArray();</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L55">55</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="uncovered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L56">56</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L57">57</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        public UserInfo GetUserInfo(string Key, string UserName, string Password) {</pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L58">58</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">return new UserInfo {</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L59">59</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="uncovered">userid = Settings.User, </span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L60">60</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="uncovered">url = Settings.HomePage</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L61">61</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">};</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L62">62</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="uncovered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L63">63</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>    }</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L64">64</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>}</pre>
  </td>
</tr>



</table>

<script type="text\\javascript" language="javascript">
document.getElementById('coveredCheck').checked = false;
</script>
    </div>
    <div id="footer">
	  Generated By  
      <a href="http://www.ncover.com" target="_top">NCover</a><br />
    </div>
  </body>
</html>